home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / src / turlvi10.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  1.0 KB  |  30 lines

  1. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TURLView
  4. //    Include File:    turlview.h
  5. //    Purpose:    Provide the view of a URL
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        12-27-93    created
  9. //        02-02-94    Began a major revision to fully handle a
  10. //                multiple document interface with WWW, take
  11. //                over the formatting and drawing of the
  12. //                old gridtext functions of HText, and optimize
  13. //                memory usage, selecting anchors, the usage of
  14. //                HText's new image file.  See gridtext.
  15. //        02-09-94    Split all members into seperate files.
  16. #include"turlview.h"
  17.  
  18. char *TURLView::getURL()    {
  19. //    Purpose:    return the absolute name of the url in the view.
  20. //    Arguments:    void
  21. //    Return Value:    char *    The pointer to the name.
  22. //    Remarks/Portability/Dependencies/Restrictions:
  23. //        Calling functions should not alter the returned string.
  24. //        It is a pointer to a member of TURLView.
  25. //    Revision History:
  26. //        01-21-94    created
  27.  
  28.     return(HTp_HyperDoc->HTPAp_node_anchor->address);
  29. }
  30.